//
//  Iterator.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/9.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "Iterator.h"

@implementation Iterator
@synthesize value;

-(void)setValue:(NSString *)newValue
{
    value = newValue;
}

-(NSString *)value
{
    return value;
}

-(NSObject*)previous;
{return nil;}

-(NSObject*)next;
{return nil;}

-(BOOL)hasNext;
{return NO;}

-(NSObject*)first;
{return nil;}

@end
